package cn.kgc.springmvc.servlet;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author: mosin
 * @version: v1.0  2022/10/17
 */
@WebServlet("/teacher")
public class TeacherServlet extends BaseServlet {


    private void delete(HttpServletRequest req, HttpServletResponse resp)throws IOException {
        // 获取添加的参数

        // 调用业务层实现用户信息的添加
        System.out.println("teacherService中delete方法被调用");

        // 响应   转发   重定向

    }
}
